﻿<UserControl x:Class="Cjc.ExpressionEngine.SimpleCalcTest.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	Loaded="OnLoaded">

	<Grid x:Name="LayoutRoot" Background="White">

		<Grid.RowDefinitions>
			<RowDefinition/>
			<RowDefinition Height="Auto"/>
		</Grid.RowDefinitions>

		<ListBox Name="resultsList" Grid.Row="0" Background="PaleGoldenrod" BorderThickness="0"/>

		<Grid Grid.Row="1" Margin="5">

			<Grid.ColumnDefinitions>

				<ColumnDefinition/>
				<ColumnDefinition Width="Auto"/>

			</Grid.ColumnDefinitions>

			<TextBox Name="expressionBox" Grid.Column="0" VerticalAlignment="Center" BorderThickness="0"
					 KeyDown="expressionBox_KeyDown" GotFocus="expressionBox_GotFocus"/>
			<Button Content="Evaluate" Grid.Column="1" Click="evaluate_Click"/>

		</Grid>

	</Grid>

</UserControl>
